<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>demo</title>
    <link rel="stylesheet" href="layui/css/layui.css">
</head>
<style>

</style>

<body>
    <div class="apply-buy-box">
        <br>
        <form action="up.php" method="post" enctype="multipart/form-data">
            <input type="hidden" name="MAX_FILE_SIZE" value="1000000">
            选择文件：<input type="file" name="myfile">
            <input type="submit" value="上传文件">
        </form>
    </div>
</body>
<script src="layui/layui.all.js" charset="utf-8"></script>
<script src="js/jquery-3.3.1.min.js" charset="utf-8"></script>

</html>